package com.zhangliang.bean;

import com.zhangliang.service.DemoService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

@Component
public class ConsumerConponent {
    @Reference
    private DemoService demoService;

    public String methodA() {
        String res = demoService.methodA();
        return res;
    }

    public String methodB() {
        String res = demoService.methodB();
        return res;
    }

    public String methodC() {
        String res = demoService.methodC();
        return res;
    }
}
